package com.qyhl.module_home.city.bestone;


import com.qyhl.webtv.commonlib.entity.home.BestoneItemTypeBean;
import com.qyhl.webtv.commonlib.entity.home.BestoneTypeBean;

import java.util.List;

public interface BestoneContract {
    interface BestoneView {
        void getDataError(String msg);

        void getDataSuccess(List<BestoneTypeBean> data);

        void searchError(String msg);

        void searchSuccess(List<BestoneItemTypeBean> data);
    }

    interface BestonePresenter {
        void getData();

        void getDataError(String msg);

        void getDataSuccess(List<BestoneTypeBean> data);

        void search(String text);

        void searchError(String s);

        void searchSuccess(List<BestoneItemTypeBean> data);
    }

    interface BestoneModel {
        void getData();

        void search(String text);
    }
}
